#include <stdio.h>

int swap(int *a, int *b);

int main(void)
{
	int n1 = 10;
	int n2 = 5;

	swap(&n1, &n2);
	printf("%d %d", n1, n2);

	return 0;
}

int swap(int *a, int *b)
{
	int t;
	t = *a;
	*a = *b;
	*b = t;
}

